package com.main.ok.sample;

/**
 * Project: greenline-epay-open-service-impl
 * 
 * File Created at 2013-6-3
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */

import java.util.Random;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.main.ok.util.ResponseCode;
import com.main.ok.util.UsersLoginRequest;
import com.main.ok.util.UsersLoginResponse;

/**
 * @Type UsersServiceImpl
 * @Desc 医付通系统内部用户、客户端webservice服务实现
 * @author guoqing.fu
 * @date 2013-6-3
 * @Version V1.0
 */
public class UsersServiceImpl implements UsersService {

    private static final Log log = LogFactory.getLog(UsersServiceImpl.class);

    @Override
    public UsersLoginResponse login(UsersLoginRequest request) {
        if (log.isInfoEnabled()) {
            log.info("UsersServiceImpl.login start...");
        }
        UsersLoginResponse response = new UsersLoginResponse();

        response.setCode("101");
        response.setMessage("fuck u");
        System.out.println("everyok");
        return response;
    }


}
